﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewsCollection.Data
{
    public class Category
    {
        [Key]
        public int Id { get; set; }
        public string sId { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public DateTime CreatedDate { get; set; }
      //  public string demo { get; set; }
        public virtual Category ParentCategory { get; set; }
      //  public string Abc { get; set; }
        public virtual CategoryManuals CategoryManual { get; set; }
      
        public virtual IList<News> News { get; set; }
        public virtual IList<Manu_Cate_Mapping> Menu_Cate_Mapping { get; set; }
       
    
    }
}
